package edu.hnu.cloudflight.android.util;

import android.app.Activity;
import android.widget.Toast;

public class ToastUtil {
	
	public static void makeToastForLong(Activity activity,String info){
		Toast.makeText(activity,info, Toast.LENGTH_LONG).show();
	}
	
	public static void makeToastForLong(Activity activity,int info){
		Toast.makeText(activity,info, Toast.LENGTH_LONG).show();
	}
	
	
	
	public static void makeToastForShort(Activity activity,String info){
		Toast.makeText(activity,info, Toast.LENGTH_SHORT).show();
	}
	
	public static void makeToastForShort(Activity activity,int info){
		Toast.makeText(activity,info, Toast.LENGTH_SHORT).show();
	}

}
